Purpose
Display an HTML page transparently so that the SAP GUI background remains visible

Solution
In the HTML BODY tag,  set the background color to "transparent":

<body style="background-color: transparent; margin: 0px;">

And in the WebView command add the -transparent option:

WebView    ....   -transparent

Example
In transaction VA01, we add an HTML page that allows the user to select the sales area and the sales office by clicking on a region displayed in a map:


Quartz Theme


SAP Signature Theme

Without the "transparent" option, the HTML page is displayed with the default white background. Also, since it is a bit too large to fit in the SAP GUI box, it overlaps the box's frame:


Without "transparent" option

GuiXT

BoxSize   G[Organizational Data]   (9,94)
WebView   (4.8,45)  (13.7,96.1)    "worldmap.html" _
  name="worldmap" -transparent -closeOnHide
connectHTML name="worldmap"

HTML

Download


You can download the required files here: worldmap.zip

Components
InputAssistant + Controls